package cc.iotkit.system.service.impl;

import cc.iotkit.common.api.Paging;
import cc.iotkit.common.api.Request;
import cc.iotkit.data.system.IBasAreaData;
import cc.iotkit.model.bas.BasAreaRecord;
import cc.iotkit.system.service.IBasAreaService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@RequiredArgsConstructor
@Service
public class BasAreaServiceImpl implements IBasAreaService {
    private final IBasAreaData basAreaData;

    @Override
    public List<BasAreaRecord> getList(BasAreaRecord query) {
        return basAreaData.findByConditions(query);
    }
}
